import request from '@/utils/request'
const baseURL = process.env.VUE_APP_BASE_API
export const imgUploadUrl = baseURL + 'kd_admin/upload'

// 上传文件
export function uploadFun(formData) {
  return request({
    url: imgUploadUrl,
    headers: { 'content-type': 'application/x-www-form-urlencoded' },
    method: 'post',
    data: formData
  })
}

